<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>bxslider插件的使用demo</title>
        <link rel="stylesheet" href="css/jquery.bxslider.min.css" />
    </head>
    <body>
        <div class="bxslider">
          <div><img src="https://bxslider.com/assets/images/coffee1.jpg" title="Funky roots"></div>
          <div><img src="https://bxslider.com/assets/images/coffee2.jpg" title="The long and winding road"></div>
          <div><img src="https://bxslider.com/assets/images/coffee3.jpg" title="Happy trees"></div>
        </div>
        <script src="//cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
        <script src="js/jquery.bxslider.min.js"></script>
        <script>
        $(function(){
          $('.bxslider').bxSlider({
            mode: 'fade',
            captions: true,
            slideWidth: 600
          });
        });
        </script>
    </body>
</html>